﻿
.grid-image {
    position: relative;
    font-size: 12px;
    border-radius: 4px;
    margin: 3px;
    background: var(--grid-image-bg);
    animation: fadeIn ease 1s;
}

.grid-image img {
    padding: 3px;
}

.grid-image-unselected {
    background-color: var(--grid-image-bg);
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.grid-image-selected {
    background-color: var(--grid-image-selected-bg);
    box-shadow: 1px 1px 0 var(--grid-image-selected-box) inset;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.grid-image-fadein {
    opacity: 1;
}

.grid-image-text {
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 5%;
    font-size: 12px;
    color: #579757;
    text-overflow: ellipsis;
}